package com.ktjy.ktmall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ktjy.ktmall.domain.vo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderService extends IService<Order> {
    /**
     * 查询订单列表
     * @param order
     * @return
     */
    List<Order> selectOrderList(Order order);


    /**
     * 根据订单流水号查询订单信息
     */
    Order selectOrderByOrderSn(@Param("id") Long id);
}
